<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="C" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 郑帅
  Date: 2019/8/21
  Time: 19:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<script src="<c:url value="/layui/layui.js"/>"></script>
<link rel="stylesheet" type="text/css" href="<c:url value="/layui/css/layui.css"/>">|
<script src="/js/jquery-1.9.1.min.js"></script>
<script>
    layui.use(['table','form','layer'], function () {
        var table = layui.table;
        var form = layui.form;
        var layer = layui.layer;

        layer.reload();

    })
</script>
<body>

<div style="margin-left: 220px;margin-top: 180px">

    <form class="layui-form layui-form-pane" action="/ZdInsert.do" method="post">

        <div class="layui-form-item">
            <%--    时间    --%>
            <div class="layui-inline">
                <label class="layui-form-label">编号：</label>
                <div class="layui-input-inline">
                    <input id="id" name="id" lay-verify="id" type="text" autocomplete="off" class="layui-input" value="" readonly="readonly">
                </div>
            </div>
            <%--    条目    --%>
            <div class="layui-inline">
                <label class="layui-form-label">条目：</label>
                <div class="layui-input-inline">
                    <input id="name" name="name" lay-verify="name" type="text" autocomplete="off" class="layui-input"  value="">
                </div>
            </div>

        </div>


        <div class="layui-form-item">
            <%--    类别    --%>
            <div class="layui-inline">
                <label class="layui-form-label">类别：</label>
                <div class="layui-input-inline">
                    <select name="typeId" lay-verify="required" style="width:100px;height: 35px" id="typeId">
                        <option value="" selected="">全部</option>
                        <c:forEach items="${fuWu}" var="k">
                            <option value="${k.id}" >${k.name}</option>
                        </c:forEach>
                    </select>
                </div>
            </div>

                <%--     是否可编辑   --%>
                <div class="layui-inline">
                    <label class="layui-form-label">是否可编辑：</label>
                    <div class="layui-input-inline">
                        <input type="radio" name="status" value="1" title="是" <c:if test="${requestScope.Zdlist.status==1}">checked="checked"</c:if>>
                        <input type="radio" name="status" value="0" title="否"<c:if test="${requestScope.Zdlist.status==0}">checked="checked"</c:if>>
                    </div>
                </div>

        </div>

        <div style="width: 170px; margin-left: 390px;margin-top: 50px">
            <button type="submit" class="layui-btn layui-btn-fluid">
                <i class="layui-icon layui-icon-search">流体按钮</i></button>
        </div>
    </form>
</div>

</body>
</html>
